import DoublyList from "./DoublyList.js"

const list = new DoublyList()
list.push('0')
list.push('1')
list.push('2')
list.push('3')
list.push('4')

// console.log(list)

// list.insert('2', 2)

// list.insert('66', 6)

console.log(list.removeNodeByIndex(4))

console.log(list)